<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Contact to Admin</title>
	<link href="index.css" rel="stylesheet" type="text/css" />
</head>

<%@ include file="header.jsp" %>


<body>
<!-- these will not be printed the first time since they are initially null and this notation does
     not print null, it just is ignored. -->
	<div class="information-text">
		<table align="center">
			<tr>
				<td style="color: red !important">${errorMessage}</td>
			</tr>
			
			<tr>
				<td>${informationMessage}</td>
			</tr>			
		</table>
	</div>
	<div id="contact-form">
		<form action="ContactServe" method="post">
		    <div>
		    	<table class="contact-table">
			    <tr>
			    	<td class="contact-label">Your mail address:</td>
			    	<td><input class="contact-textbox" name="mail_address" value="${mail_address}"></td>
			    </tr>
			    
			    <tr>
			    	<td class="contact-label">Mail subject:</td>
			    	<td><input class="contact-textbox" name="subject" value="${subject}"></td>
			    </tr>
			  	
			    <tr>
			    	<td class="contact-label">Mail message:</td>
			    	<td><textarea class="contact-messagebox" name="message">${message}</textarea></td>
			    </tr>
			    
			    <tr>
			    	<td></td>
			    	<td><input id="button-type" type="submit"></td>
			    </tr>
			    </table>
		    </div>
		</form>
	</div>

</body>
<%@ include file="footer.jsp"%>